/*
 * Created by LiuYou on 2020/11/26.
 *
 */

#ifndef EFFECTIVECPP_PCIMPL_HPP
#define EFFECTIVECPP_PCIMPL_HPP


#include <string>
#include <ostream>

namespace computer {
    class PcImpl {
    public:
        PcImpl(int pcId, const std::string& pcFeature);

        int getPcId() const;

        const std::string& getPcFeature() const;

        friend std::ostream& operator<<(std::ostream& os, const PcImpl& pc);

    private:
        int pcId;
        std::string pcFeature;
    };

}


#endif //EFFECTIVECPP_PCIMPL_HPP
